package com.phunware.swipeToDismiss.view;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;

public class DismissPager extends ViewPager {

	public DismissPager(Context context, AttributeSet attrs) {
		super(context, attrs);
		//setFocusable(false);
		//setDescendantFocusability(FOCUS_BLOCK_DESCENDANTS);
	}

	/*@Override
	public boolean hasFocusable() {
		if (getAdapter() instanceof SwipingPagerAdapter
				&& !((SwipingPagerAdapter) getAdapter()).getMainView(this)
						.hasFocusable()) {
			return false;
		}
		return super.hasFocusable();
		return false;
	}*/

}
